FROM rust:slim

# Set the working directory inside the container
WORKDIR /home/family_expense_api

# Make sure the binary is executable
# RUN chmod +x ./family_expense_api

# Default command to run
CMD ["./family_expense_api"]

# docker build --tag family-expense-rust-slim -f .\docker\family-expense-rust-slim\Dockerfile .
# docker run -d --restart always -p 8088:8088 --name=family-expense-rust-slim -v D:/Dev/Workspace/Git/project-frameworks/family-expense/server/rust-axum/family_expense_api/target/release:/home/family_expense_api family-expense-rust-slim